import { MockMethod } from "vite-plugin-mock"

const mockData: MockMethod[] = [
  {
    url: "/api/pegasus/all/",
    method: "get",
    response: () => {
      return {
        status: 0,
        data: {
          name: "vben",
        },
      }
    },
  },
  {
    url: "/api/pegasus/detail/",
    method: "get",
    response: () => {
      return {
        status: 0,
        data: require("./output.js"),
      }
    },
  },
]

export default mockData
